﻿@using CleanArchitecture.Infrastructure.Models.AdminUsers
@model AdminUserModel  
@{
    Layout = "_BackendLayout";
    ViewData["Title"] = ViewBag.PageTitle as string;
}
@section cssstyles {
    <style type="text/css">
        body {
            margin: 20px !important;
            display: flex;
            flex: auto;
            flex-direction: column;
            min-height: 0;
            background: #f0f2f5;
        }
        .layui-nav-tree .layui-this,
        .layui-nav-tree .layui-nav-item a:hover {
            background-color: #e6f7ff !important;
            color: #1890ff !important;
            font-weight: bold;
        }

        .layui-nav-tree .layui-this > a {
            background-color: inherit;
        }

        .layui-nav-tree .currentnav:after {
            transform: scaleY(1);
            opacity: 1;
            transition: transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1);
            position: absolute;
            top: 0;
            left: auto;
            right: 0;
            bottom: 0;
            border-right: 3px solid #1890ff;
            height: 45px;
            content: "";
        }

        .layui-nav .layui-nav-item a { color: #393d49; }

        .layui-nav-tree .layui-nav-bar {
            background-color: #1890ff;
        }
    </style>
}
<div class="accountsetting layui-main">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md2">
            <ul class="layui-nav layui-nav-tree layui-nav-side" lay-filter="leftnav">
                <li class="layui-nav-item layui-this">
                    <a href="javascript:;" data-tab="accountinfo">基本设置</a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" data-tab="accountsecurity">安全设置</a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" data-tab="accountbinding">账号绑定</a>
                </li>
            </ul>
        </div>
        <div id="rightpanel" class="layui-col-md8">
            @await Html.PartialAsync("_AccountInfo", Model)
            @await Html.PartialAsync("_AccountSecurity", Model)
        </div>
    </div>
</div>

@section scripts{
    <script src="~/js/backend/adminusermanage/accountsetting.min.js" charset="utf-8" asp-append-version="true"></script>
}
